.app-container {
  height: 100%;
}

.back_bg {
  background-color: #fff;
  margin-bottom: 10px;

  .header_top {
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    padding-left: 10px;
    border-bottom: 1px solid #e5e5e5;
  }

  .btns {
    margin-top: 10px;

    .btns-left {
      display: flex;
      align-items: center;
      margin-left: 10px;

      .fa {
        margin-right: 5px;
      }

      .mr5 {
        margin-left: 5px;
      }

      .btn {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
      }
    }
  }
}

.image-slot {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: #f5f7fa;
  color: #909399;
  font-size: 30px;
}

.main {
  display: flex;
  background-color: #fff;

  .box-card {
    box-sizing: border-box;
    height: 100%;
    padding-bottom: 10px;
    border-radius: 0;
    border: 0;
    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;

    .img_list {
      display: flex;
      flex-wrap: wrap;
      align-items: center;

      // margin-top: 10px;
      .img {
        width: 70px;
        height: 70px;
        margin-bottom: 5px;

        & + .img {
          margin-right: 5px;
        }

        &:nth-child(1) {
          margin-right: 5px;
        }
      }
    }

    :deep(.el-card__body) {
      padding: 0;
    }

    .header {
      margin: 0 10px;
      padding: 10px;
      border-bottom: 1px solid #e5e5e5;
      display: flex;
      justify-content: space-between;
      align-items: center;

      h4 {
        font-size: 14px;
      }

      span {
        color: #007cff;
        cursor: pointer;
        margin-left: 10px;
      }
    }

    .form_list {
      :deep(.el-form-item__label) {
        font-size: 12px;
        color: #000;
      }

      :deep(.el-form-item__content) {
        font-size: 12px;
        color: #999;
      }
    }
  }

  .el-main {
    --el-main-padding: 0px;
    margin: 0 10px;
  }

  .demo-tabs {
    .tab-header {
      display: flex;
      justify-content: flex-end;

      .input-with {
        width: 180px;
        margin-right: 5px;
      }

      .mr5 {
        margin-right: 5px;
      }

      .btn {
        display: flex;
        align-items: center;
      }
    }

    .spec-table {
      .state1 {
        color: #00c0c0;
      }

      .state2 {
        color: #999999;
      }
    }

    .text {
      display: inline-block;
      margin-bottom: 5px;
    }

    .footer-pages {
      margin-top: 15px;
      display: flex;
      justify-content: flex-end;
    }
  }
}

.btn_save {
  width: 60px;
}

.btn_delete {
  width: 60px;
  color: #fff;
}

.search_btn_group {
  display: flex;
  gap: 5px;
}

.search_btn,
.reset_btn {
  width: 3.2vw;
  height: 28px;
  border-radius: 2px;
  margin: 0;
}

.btn_cancel {
  width: 60px;
}

:deep(.bom-dialog) {
  .el-dialog__body {
    padding: 12px;
  }
}

:deep(.el-table .cell) {
  text-align: center;

  .el-table__cell {
    text-align: center;
  }
}
:deep(.bom_list_tabs.el-table tr) {
  height: 60px !important;
}
.bom_list_tabs {
  width: 100%;
  margin: 10px 0;

  .batch_num {
    background-color: #fff;
    box-shadow: 0 0 5px 1px #e5e5e5;
    font-size: 12px;
    padding: 0 6px;
    line-height: 20px;
    height: 20px;
    display: inline-block;
    cursor: pointer;
  }

  .el-input__icon {
    cursor: pointer;
  }

  :deep(.hover-row) {
    .add_delete {
      display: block;
      cursor: pointer;
    }

    .order {
      display: none;
    }
  }

  .order {
    display: block;
  }

  .add_delete {
    display: none;

    .add {
      padding-right: 5px;
    }
  }
}

.footer_pages {
  display: flex;
  justify-content: end;
}

.btns_xy {
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid #e4e7ed;
  width: 100%;
  text-align: end;

  .ml5 {
    margin-left: 5px;
  }
}

.top_search {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  .input-with-select {
    width: 180px;

    .item-select {
      width: 110px;
    }
  }

  .mr5 {
    margin-right: 5px;
  }
}

.contPro-dialog {
  :deep(.el-table__header) {
    th {
      .cell {
        display: flex;
      }
    }
  }

  .iconfont {
    margin-left: auto;
    font-size: 12px;
    cursor: pointer;
  }
}

.pro-selete {
  width: 100%;
}
